package tcpUSServer;

import java.io.IOException;
import java.net.ServerSocket;

public class DaemonUpdateSupportServer {
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			// Create a ServerSocket and listen to the port
			ServerSocket ss = new ServerSocket(6969);
			System.out.println("Daemon (USS) running...");
			for(;;){
				// Accept incoming client connections and create a sub-server for each
				UpdateSupportServer server = new UpdateSupportServer(ss.accept());
				server.start();			
			}
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
